Skip to content

feat(tui) add agent managament to /agent - #1

Closed
Builderstar wants to merge 122 commits into
devfrom
feat/agent-management-tui
Closed

feat(tui) add agent managament to /agent#1
Builderstar wants to merge 122 commits into
devfrom
feat/agent-management-tui

Conversation

@Builderstar

Copy link
Copy Markdown
Owner

Issue for this PR

Closes anomalyco#20130

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

What

Adds a Manage section to the existing /agents dialog in the TUI with three actions: Create, Edit, and Delete custom agents.

Why

Currently managing custom agents requires manually writing .md files outside of opencode. This brings that workflow into the TUI where the /agents dialog already lives.

How did you verify your code works?

Tested locally with a standalone binary build on Linux (Ubuntu 24.04.4 LTS). Screencasts attached below showing Create (manual, from file, generate), Edit (permissions, name, color, instructions), and Delete flows.

Screenshots / recordings

Screenshot from 2026-04-02 15-45-58 Screenshot from 2026-04-02 15-46-09 Screenshot from 2026-04-02 15-46-18 Screenshot from 2026-04-02 15-46-23 Screenshot from 2026-04-02 15-46-41 Screenshot from 2026-04-02 15-46-48 Screenshot from 2026-04-02 15-46-58 Screenshot from 2026-04-02 15-47-19 Screenshot from 2026-04-02 15-47-23 Screenshot from 2026-04-02 15-47-38 Screenshot from 2026-04-02 15-48-06 Screenshot from 2026-04-02 15-48-12
opencode_features.mp4

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

adamdotdevin and others added 30 commits March 30, 2026 08:50
…#20123)

Co-authored-by: Jaaneek <jankiewiczmilosz@gmail.com>
mchenco and others added 27 commits April 1, 2026 20:02
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…nAI-compatible providers (anomalyco#14973)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
…ion (anomalyco#20581)

Co-authored-by: Aaron Zhu <aaron@Aarons-MacBook-Air.local>
Adds Create, Edit, and Delete agent management to the existing /agents
dialog via a new Manage category. All operations read/write the existing
.md frontmatter format used by OpenCode agents.

Create flow: manual (via $EDITOR with fallback to inline prompt), from
file, or AI-generated from a description using any configured model.
Edit flow: permissions (allow/deny/ask toggle), rename, color picker
(named theme colors + custom hex), instructions via $EDITOR.
Delete flow: confirmation dialog before removing the agent file.

Hot-reload after each operation uses sdk.client.instance.dispose(),
matching the pattern in dialog-provider.tsx.
@github-actions

github-actions Bot commented Apr 2, 2026

Copy link
Copy Markdown

Hey! Your PR title feat(tui) add agent managament to /agent doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@Builderstar Builderstar closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: agent managment in the TUI from the /agents command